theory of function. What is range and domain